package com.youlu.campus.service.ca;

import com.youlu.campus.entity.SingleOrderConfig;
import com.youlu.campus.entity.SingleOrderConfigDetail;
import com.youlu.campus.entity.VO.req.SingleOrderConfigQueryVO;
import org.springframework.data.domain.Page;

import java.util.List;

public interface SingleOrderConfigService {
    Page<SingleOrderConfig> list(SingleOrderConfigQueryVO req);

    boolean create(SingleOrderConfig req);

    boolean update(SingleOrderConfig req);

    boolean delete(String id);

    SingleOrderConfig findOne(String id);

    List<SingleOrderConfigDetail> getDetail(String singleOrderConfigId);

    List<String> getMatertailItemId( String singleOrderConfigId,String activityId);
}
